// @ts-nocheck
import React from 'react';
import { ApplyPluginsType, dynamic } from 'D:/学习课程/实训一/案例/Exam/four-group-warehouse/项目代码/Backstage Management System/node_modules/umi/node_modules/@umijs/runtime';
import * as umiExports from './umiExports';
import { plugin } from './plugin';

export function getRoutes() {
  const routes = [
  {
    "path": "/main",
    "routes": [
      {
        "path": "/main/addQuestions",
        "exact": true,
        "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__main__addQuestions' */'@/pages/main/addQuestions.tsx')})
      }
    ],
    "component": dynamic({ loader: () => import(/* webpackChunkName: 'p__main___layout' */'@/pages/main/_layout.tsx')})
  }
];

  // allow user to extend routes
  plugin.applyPlugins({
    key: 'patchRoutes',
    type: ApplyPluginsType.event,
    args: { routes },
  });

  return routes;
}
